package cn.pzhu.model;

import com.jfinal.plugin.activerecord.Model;

/**
 * Created by dongp on 2016/5/9.
 */
public class Demand extends Model<Demand> {
	public  static final Demand dao = new Demand();

	public int getId(){
		return this.getInt("demandID");
	}

	public String getName() {
		return this.getStr("name");
	}

	public String getOrganization() {
		return this.getStr("organization");
	}

	public String getTypeName() {
		return this.getStr("typeName");
	}

	public String getDemandDesc() {
		return this.getStr("demandDesc");
	}

	public String getbudget(){
		return this.getStr("budget");
	}

	public String getPhone() {
		return this.getStr("phone");
	}

	public String getAddress() {
		return this.getStr("address");
	}

	public String getIssueDate() {
		return this.getDate("issueDate").toString();
	}
}
